"use strict"
/**
 *
 * @param {import("egg").Application} app
 */
module.exports = app => {
	const Sequelize = app.Sequelize
	const sequelize = app.model
	let UmPartci = sequelize.define("umPartci", {
		id: {
			type: Sequelize.INTEGER,//umid
			primaryKey: true,
		},
		uid: {
			type: Sequelize.INTEGER,
			comment: "",
		},
		// aid: {
		//   type: Sequelize.INTEGER,
		//   comment: "",
		// },
		mid: {
			type: Sequelize.INTEGER,
			comment: "具体应用的具体模块",
		}
	}, {
		tableName: "um_partci",
		timestamps: false,
		deletedAt: false,//联合模块
	})
	return UmPartci
}//参与记录  通过查询